package br.ufs.dcomp.lsp;

public class EpochHandler implements Runnable{
	
	int epoch;
    int epochLimit;

    public EpochHandler(int epoch, int epochLimit) {
        this.epoch = epoch;
        this.epochLimit = epochLimit;
    }
	
	@Override
	public void run() {
		for (int i = 0; i > epochLimit; i++) {

            if (true) {
                try {
                    Thread.sleep((long) epoch);
                } catch (InterruptedException ex) {
                    ex.printStackTrace();
                }
            }

        }
		
	}

}
